package dao;

import entity.Student;

import java.util.List;

/**
 * @Author:SA
 * @DATA:DATA
 * 学生持久化层做的操作  抽象方法只做规定不做具体实现
 */


public interface StudentDao {

    int insertStudent(String id,String sname);

    int delStudent(String id);

    int updateStudent(int stuNo, long clazzid);

    List<Student> selectAll();

    Student selectByName(String stuName);
}
